# encoding: utf-8

from openpyxl import Workbook

# 实例化，创建新的Excel文件
wb = Workbook()

# 获取当前active的sheet
sheet = wb.active

print(sheet.title)  # 输出当前的sheet名

sheet.title = 'salary'  # 修改sheet名

wb.save("output/工资表.xlsx")